//根据店家分类获得店家
$('a[name="shopCategory"]').click(function(){
	
	var shopCategoryId = $(this).attr("data-shopCategoryId");
	var json = {
			"shopCategoryId":shopCategoryId
	}
	var jsonStr = JSON.stringify(json);
	window.location.href = base_url + "customer/getSellerByShopCategoryId?jsonStr="+jsonStr;
});

//进入店家首页
$('a[name="seller"]').click(function(){
	var sellerId = $(this).attr("data-sellerId");
	var json = {
			"sellerId":sellerId
	}
	var jsonStr = JSON.stringify(json);
	window.location.href = base_url + "customer/getShopIndexMsg?jsonStr="+jsonStr;
});